package com.fs.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author ACE
 * @desc 实体对象
 * @creationTime 2019-03-30 15:00
 * @projectName weixinframe
 * @packageName com.fs.pojo
 */
@Data
@AllArgsConstructor
public class ModleField {
	/**字段名*/
	private String field;
	/**显示名*/
	private String title;
	 /**列表显示*/
	private String inlist = "Y";
	 /**列表宽度*/
	private Integer width = 120 ;
	 /**搜索显示*/
	private String insearch = "N";
	
	private String searchType = "like";
	 /**表单显示*/
	private String inform = "Y";
	 /**控件类型  text,textarea,checkbox,numberbox,validatebox,datebox,combobox,combotree*/
	private String type = "text" ;
	 /**控件宽度*/
	private Integer fieldwidth = 240 ;
	 /**间隔宽度*/
	private Integer space = 100 ;
	 /**是否新行*/
	private String newline = "Y";
	 /**是否必填*/
	private String required = "N";
	 /**数据属性*/
	private String dataoptions = "";
	
	public ModleField(String field, String title) {
		this.field = field;
		this.title = title;
	}
	
}
